package cn.iune.erp.customer;

import com.alibaba.fastjson.JSONObject;

public interface ICustomerService {

	//删除客户档案及关联的地址明细表
	void deleteCustomer(String rowID);

	int saveCustomer(JSONObject object) throws Throwable;

	JSONObject getCustomerInfo(String sLoginName, String enterpriseNo);


	JSONObject creatAutomember(String sLoginName, String sMobilePhone, String personID, String personCode,
			String personName, String cUsercode, String cUsername, String userId, String enterpriseNo,
			String enterpriseName);


	JSONObject getMember(String sLoginName, String enterpriseNo);

	JSONObject getCustomerList(String sLoginName);

	JSONObject getMemberInfo(String memberNo, String enterpriseNo);
	void memberPointsAfterInsert(MemberPoints obj);
	void memberPointsBeforeDelete(String fID);


}